import {createApp} from 'vue'
import 'element-plus/dist/index.css'
import 'element-plus/theme-chalk/base.css'
import HttpClient from '@/classes/HttpClient';
import router from '@/router';
import App from '@/App.vue';
import ElNotification, {ElCollapseTransition, ElLoading, ElMessage, ElMessageBox} from 'element-plus';

const app = createApp(App)

app.use(HttpClient.create())

app.component(ElCollapseTransition.name, ElCollapseTransition)


app.use(router)

ElLoading.install(app)

app.use(ElMessage)
app.use(ElMessageBox)
app.use(ElNotification)

app.mount('#app')
